package com.jic.market.response.rest.promotion;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * description: PromotionRuleRestResponse
 * date: 2020/4/8 14:22
 * author: wangys
 * version: 1.0
 */
@Data
@Accessors(chain = true)
public class PromotionGiftItemRestResponse {

    /*
     * channel_code=-1为商家商品ID或优惠券活动id,其余为店铺商品id
     */
    @ApiModelProperty(notes = "channel_code=-1为商家商品ID或优惠券活动id,其余为店铺商品id")
    private Long giftRef;

    @ApiModelProperty(notes = "优惠券id")
    private String couponId;

    /*
     * 商家商品id
     */
    @ApiModelProperty(notes = "商家商品id")
    private Long mmpId;


    /*
     * 店铺名称
     */
    @ApiModelProperty(notes = "店铺名称")
    private String storeName;


    /*
     * 渠道code,商家商品为-1
     */
    @ApiModelProperty(notes = "渠道code,商家商品为-1")
    private String channelCode;


    /*
     * 商品code
     */
    @ApiModelProperty(notes = "商品code")
    private String mpCode;


    /*
     * 商品名称
     */
    @ApiModelProperty(notes = "商品名称")
    private String mpName;


    /*
     * 0到3为商品,赠券为null
     */
    @ApiModelProperty(notes = "0到3为商品,赠券为null")
    private Integer giftType;


    /*
     * 优惠层级
     */
    @ApiModelProperty(notes = "优惠层级")
    private Integer giftLevel;


    /*
     * 优惠层级关联
     */
    @ApiModelProperty(notes = "优惠层级关联")
    private Long levelRef;


    /*
     * 换购金额
     */
    @ApiModelProperty(notes = "换购金额")
    private BigDecimal upgradeAmount;


    /*
     * 扩展限制
     */
    @ApiModelProperty(notes = "扩展限制")
    private String extendRef;


    /*
     * promotion_rule表的主键
     */
    @ApiModelProperty(notes = "promotion_rule表的主键")
    private Long promotionRuleId;


    /*
     * 赠送数量
     */
    @ApiModelProperty(notes = "赠送数量")
    private Long giftNum;


    /*
     * 单渠道商家限制
     */
    @ApiModelProperty(notes = "单渠道商家限制")
    private Long channelMerchantLimit;


    /*
     * 单渠道门店限制
     */
    @ApiModelProperty(notes = "单渠道门店限制")
    private Long channelStoreLimit;


    /*
     * 单渠道个人限制
     */
    @ApiModelProperty(notes = "单渠道个人限制")
    private Long channelIndividualLimit;


    /*
     * 最多赠送次数
     */
    @ApiModelProperty(notes = "最多赠送次数")
    private Long individualLimit;


    /*
     * 买一赠一时候，赠品关联主品的mpId
     */
    @ApiModelProperty(notes = "买一赠一时候，赠品关联主品的mpId")
    private Long masterRef;


}
